﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MessagePack.Unity;
using MessagePack;

//////////
public static class Protocal {
	public static readonly int register = 1;
}


/// <summary>
/// ID: 1 ~ 100: basic message
/// </summary>

// id = 1
[MessagePackObject]
public class MsgRegister {
	[Key(0)]
	public int Id { get; set; }
	[Key(1)]
	public string Name { get; set; }
	[Key(2)]
	public string Password { get; set; }
}